package com.zg.scf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zg.common.core.dao.scf.entity.Rule;
import com.zg.common.core.service.IPageBaseService;
import com.zg.scf.domain.req.rule.RulePageReq;
import com.zg.scf.domain.req.rule.RuleStateEditReq;
import com.zg.scf.domain.vo.ConfCompanyVo;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */

public interface RuleService extends IPageBaseService<Rule> {


    /**
     * 分页
     * @param req
     * @param voClass
     * @return
     */
    Page<ConfCompanyVo> pageInfo(RulePageReq req, Class<ConfCompanyVo> voClass);


    /**
     * 修改状态
     * @param editReq
     */
    void editState(RuleStateEditReq editReq);

}
